package com.dlc.felear.xiaoensale.entity;

import android.support.annotation.NonNull;

public class SideDish implements Comparable<SideDish>{
    private int num;
    private int foodid;
    private int stdWeight;
    private int stdWeight1;
    private int weight;
    private int totalWeight;
    private String name;
    private String id;
    private int display;

    public int getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(int totalWeight) {
        this.totalWeight = totalWeight;
    }

    public int getFoodid() {
        return foodid;
    }

    public void setFoodid(int foodid) {
        this.foodid = foodid;
    }

    public SideDish() {
    }

    public SideDish(int num, int stdWeight, int weight, String name) {
        this.num = num;
        this.stdWeight = stdWeight;
        this.weight = weight;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getDisplay() {
        return display;
    }

    public void setDisplay(int display) {
        this.display = display;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getStdWeight() {
        return stdWeight;
    }

    public void setStdWeight(int stdWeight) {
        this.stdWeight = stdWeight;
    }
    public int getStdWeight1() {
        return stdWeight1;
    }

    public void setStdWeight1(int stdWeight) {
        this.stdWeight1 = stdWeight;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int compareTo(@NonNull SideDish o) {
        return this.getNum()-o.getNum();
    }
}
